﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
using System.Configuration.Install;
using System.ComponentModel;

namespace AbstractLabs.PowerShell.Yammer
{
	[RunInstaller(true)]
	public class YammerPSSnapIn : CustomPSSnapIn
	{
		public YammerPSSnapIn()
            :base()
        {
            Cmdlets.Add(new CmdletConfigurationEntry("Set-Yammer-Authorization", typeof(AuthorizationCmdlet), null));
            Cmdlets.Add(new CmdletConfigurationEntry("Set-Yammer-Message", typeof(TweetCmdlet), null));
        }
		public override string Description
		{
			get { return "This snap-in contains commands for communicating with Yammer"; }
		}

		public override string Name
		{
			get { return GetType().Name; }
		}

		public override string Vendor
		{
			get { return "AbstracLabs"; }
		}
	}
}
